package com.woniuxy.coursemodel.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

@Data
@ApiModel("场馆分页查看")
public class UserVacatePageForm {
    @NotNull(message = "当前页码不能为空")
    @Min(value = 1,message = "当前页码至少为1")
    @ApiModelProperty("当前页码")
    private Integer pageNum;
    @NotNull(message = "总条数不能为空")
    @Min(value = 1,message = "总条数至少为1")
    @ApiModelProperty("总条数")
    private Integer pageSize;
}
